package com.soonfor.evaluate.bean;
import java.io.Serializable;
import com.soonfor.evaluate.tools.CommonUtils;
/**
 * 作者：DC-DingYG on 2018-10-17 13:29
 * 邮箱：dingyg012655@126.com
 */
public class EvaluateListBean implements Serializable{

    /**
     “fcstid”,”0”,//客户id
     “fcname”:”张三”,//客户名称
     “fsexdesc”:”先生”,//先生描述
     “fbuildname”:”恒大华府”,//楼盘名称
     “fserviceprjname”:”上门量尺”,//服务项目名称
     “ffinishdate”:”2018-11-27 09:50:00:000”,//完成时间
     “fexecusrid”:”zhangs”,//执行人用户代号
     “fappraiseoriid”,0,//客户评价来源id
     “fappraiseoritype”,”0”,//客户评价来源类型,0.任务，1.量尺，2.设计，3.复尺，4.放样，5.送货，6.安装
     “fappraisestate”:”0”,//客户评价状态，0.待评价，1.已评价，3.不需评价
     “fappraisestatedesc”:”待评价”,//客户评价状态描述
     “fifallhighappraise”:”0”,// 是否启用整体评价，0.否，1.是
     “fallhighappraiseresult”:”0”,//整体评价，1.好评，2.中评，3.差评
     “fallhighappraiseresultdesc”:”中评”,//整体评价描述
     “frtnvisitplantaskid”:0,//回访任务id，可用取回访结果
     “frtnvisitstate:”0”//回访状态，0.待回访，1.已回访，3.不需回访
     “frtnvisitstatedesc:”待回访,//回访状态描述
     “frtnvisitpoint”:0,//回访得分
     “fappraisecststate:”0”,//评价客户状态，0.待评价，1.已评价，3.不需评价
     “fappraisecststatedesc”:”待评价,//评价客户状态描述
     “fifallhighappraisecst:”0,//是否启用整体评价客户
     “fallhighappraisecstresult”:”0,//整体评价客户结果,1.好评，2.中评，3.差评
     “fallhighappraisecstresultdesc”:”好评”,//整体评价客户结果描述
     */
    private String fcstid; //客户id
    private String fcname;//客户名称
    private String fsexdesc;//先生描述
    private String fbuildname;//楼盘名称
    private String fserviceprjname;//服务项目名称
    private String ffinishdate;//完成时间
    private String fexecusrid;//执行人用户代号
    private String fappraiseoriid;//客户评价来源id
    private int fappraiseoritype;//客户评价来源类型,0.任务，1.量尺，2.设计，3.复尺，4.放样，5.送货，6.安装
    private String fplantaskid;//任务id，用于评价跳转任务，兼容fappraiseoritype，知识当值为0是和fappraiseoriid的值有区分（任务朱、细表id的区分）
    private int fappraisestate;//客户评价状态，0.待评价，1.已评价，3.不需评价
    private String fappraisestatedesc;//客户评价状态描述
    private int fifallhighappraise;// 是否启用整体评价，0.否，1.是
    private int fallhighappraiseresult;//整体评价，1.好评，2.中评，3.差评
    private String fallhighappraiseresultdesc;//整体评价描述
    private String frtnvisitplantaskid;//回访任务id，可用取回访结果
    private int frtnvisitstate;//回访状态，0.待回访，1.已回访，3.不需回访
    private String frtnvisitstatedesc;//回访状态描述
    private String frtnvisitpoint;//回访得分
    private int fappraisecststate;//评价客户状态，0.待评价，1.已评价，3.不需评价
    private String fappraisecststatedesc;//评价客户状态描述
    private int fifallhighappraisecst;//是否启用整体评价客户
    private int fallhighappraisecstresult;//整体评价客户结果,1.好评，2.中评，3.差评
    private String fallhighappraisecstresultdesc;//整体评价客户结果描述

    public String getFcstid() {
        return CommonUtils.formatStr(fcstid);
    }

    public String getFcname() {
        return CommonUtils.formatStr(fcname);
    }

    public String getFsexdesc() {
        return CommonUtils.formatStr(fsexdesc);
    }

    public String getFbuildname() {
        return CommonUtils.formatStr(fbuildname);
}

    public String getFserviceprjname() {
        return CommonUtils.formatStr(fserviceprjname);
    }

    public String getFfinishdate() {
        return CommonUtils.formatStr(ffinishdate);
    }

    public String getFexecusrid() {
        return CommonUtils.formatStr(fexecusrid);
    }

    public String getFappraiseoriid() {
        return CommonUtils.formatStr(fappraiseoriid);
    }

    public int getFappraiseoritype() {
        return fappraiseoritype;
    }

    public String getFplantaskid() {
        return fplantaskid==null?getFappraiseoriid():fplantaskid;
    }


    public int getFappraisestate() {
        return fappraisestate;
    }

    public String getFappraisestatedesc() {
        return fappraisestatedesc;
    }

    public int getFifallhighappraise() {
        return fifallhighappraise;
    }

    public int getFallhighappraiseresult() {
        return fallhighappraiseresult;
    }

    public String getFallhighappraiseresultdesc() {
        return CommonUtils.formatStr(fallhighappraiseresultdesc);
}

    public String getFrtnvisitplantaskid() {
        return CommonUtils.formatStr(frtnvisitplantaskid);
    }

    public int getFrtnvisitstate() {
        return frtnvisitstate;
    }

    public String getFrtnvisitstatedesc() {
        return CommonUtils.formatStr(frtnvisitstatedesc);
    }

    public String getFrtnvisitpoint() {
        return CommonUtils.formatAdecimal(frtnvisitpoint);
    }

    public int getFappraisecststate() {
        return fappraisecststate;
    }

    public String getFappraisecststatedesc() {
        return CommonUtils.formatStr(fappraisecststatedesc);
    }

    public int getFifallhighappraisecst() {
        return fifallhighappraisecst;
    }

    public int getFallhighappraisecstresult() {
        return fallhighappraisecstresult;
    }

    public String getFallhighappraisecstresultdesc() {
        return CommonUtils.formatStr(fallhighappraisecstresultdesc);
    }
}
